<!DOCTYPE HTML>
<title>Canvas test: 2d.shadow.attributes.shadowBlur.1</title>
<!--[if IE]><script src="../excanvas/excanvas.js"></script><![endif]-->
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<link rel="prev" href="2d.imageData.put.path.html" title="2d.imageData.put.path">
<link rel="next" href="2d.shadow.attributes.shadowBlur.2.html" title="2d.shadow.attributes.shadowBlur.2">
<body class="show_output">
<p>
 <a href="2d.imageData.put.path.html" accesskey="p" title="[p] 2d.imageData.put.path">&lt;</a>
 <a href="index.html">[index]</a>
 <a href="2d.shadow.attributes.shadowBlur.2.html" accesskey="n" title="[n] 2d.shadow.attributes.shadowBlur.2">&gt;</a>
<h1><a href="index.2d.html">2d</a>.<a href="index.2d.shadow.html">shadow</a>.<a href="index.2d.shadow.attributes.html">attributes</a>.<a href="index.2d.shadow.attributes.shadowBlur.html">shadowBlur</a>.1</h1>
<p class="desc"></p>
<div class="refs">References:
<ul>

</ul>
</div>

<p class="output">Actual output:</p>
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>

<ul id="d"></ul>
<script>
_addTest(function(canvas, ctx) {

ctx.shadowBlur = 1;
_assertSame(ctx.shadowBlur, 1, "ctx.shadowBlur", "1");
ctx.shadowBlur = 0.5;
_assertSame(ctx.shadowBlur, 0.5, "ctx.shadowBlur", "0.5");
ctx.shadowBlur = 1e6;
_assertSame(ctx.shadowBlur, 1e6, "ctx.shadowBlur", "1e6");
ctx.shadowBlur = 1;
ctx.shadowBlur = -2;
_assertSame(ctx.shadowBlur, 1, "ctx.shadowBlur", "1");
ctx.shadowBlur = 0;
_assertSame(ctx.shadowBlur, 0, "ctx.shadowBlur", "0");


});
</script>

